<template>
  <n-config-provider :theme="darkTheme" :theme-overrides="themeOverrides">
    <n-loading-bar-provider>
      <n-dialog-provider>
        <router-view />
      </n-dialog-provider>
    </n-loading-bar-provider>
  </n-config-provider>
</template>

<script setup>
import { darkTheme } from "naive-ui";

const themeOverrides = {
  common: {
    primaryColor: "#96a48b",
    primaryColorHover: "#96a48b",
    primaryColorPressed: "#96a48b",
    errorColor: "#96a48b",
    warningColorSuppl: "#96a48b",
    warningColor: "#96a48b",
  },
};
</script>

<style lang="scss">
body {
  background-color: rgba(123, 139, 111, 0.3);
  font-family: "Microsoft Yahei" !important;
}
body {
  font-family: "微软雅黑" !important;
}
</style>
